package cn.zysuyuan.item.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author flypig
 * @version 1.0
 * @date 2019/10/30 2:20
 */

//@Table(name = "t_product_base")
public class ProductBase implements Serializable {

    private static final long serialVersionUID = 1L;
    private String id;			//药品产地基地id
    private String bName;		//生产基地名称
    private double  bArea;		//生产基地面积，单位平方立米
    private String  bPosition; //基地位置信息，如：广东省、广州市、天河区
    private double bLongitude;//百度坐标经度
    private double  bLatitude; //百度坐标纬度
    private String bRemarks;	//备注信息

    private String bCompanyId;	//所属公司ID
    private String bCompanyName;	//公司名称
    private String bCompanyPosition;   //公司位置信息
    private String bCompanyPerson; //公司负责人
    private String bCompanyContact;  //公司负责人的联系方式
    private String bCompanyMedicinal;  //该公司种植的药材（不是动态的数据，是管理员自己填的）
    private String bCompanyRemarks;   //备注，也是公司简介

    private String bProvince;	//省
    private String bCity;	//市
    private String bRegion;	//区、县

    private String medicinalNames;   //显示用的，该基地所生产的药材名称

    private String bWaterEnvironment; //生态水环境
    private String bSoilEnvironment; //生态土环境
    private String bAirEnvironment; //生态大气环境

    private String bTotalityAppraise;   //环境的整体评价，优、良、合格，不合格
    //以下添加了生态数据
    private String bEnvironmentDataImgPath;
    private String bEnvironmentDataImgPathOut;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date eTime; //版本时间，也叫归档时间

    private Date bCreateTime;   //创建时间，后来为了显示可以按时间先后顺序加的字段，因为涉及显示所以不用加那个json注解

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getbName() {
        return bName;
    }

    public void setbName(String bName) {
        this.bName = bName;
    }

    public double getbArea() {
        return bArea;
    }

    public void setbArea(double bArea) {
        this.bArea = bArea;
    }

    public String getbPosition() {
        return bPosition;
    }

    public void setbPosition(String bPosition) {
        this.bPosition = bPosition;
    }

    public double getbLongitude() {
        return bLongitude;
    }

    public void setbLongitude(double bLongitude) {
        this.bLongitude = bLongitude;
    }

    public double getbLatitude() {
        return bLatitude;
    }

    public void setbLatitude(double bLatitude) {
        this.bLatitude = bLatitude;
    }

    public String getbRemarks() {
        return bRemarks;
    }

    public void setbRemarks(String bRemarks) {
        this.bRemarks = bRemarks;
    }

    public String getbCompanyId() {
        return bCompanyId;
    }

    public void setbCompanyId(String bCompanyId) {
        this.bCompanyId = bCompanyId;
    }

    public String getbCompanyName() {
        return bCompanyName;
    }

    public void setbCompanyName(String bCompanyName) {
        this.bCompanyName = bCompanyName;
    }

    public String getbCompanyPosition() {
        return bCompanyPosition;
    }

    public void setbCompanyPosition(String bCompanyPosition) {
        this.bCompanyPosition = bCompanyPosition;
    }

    public String getbCompanyPerson() {
        return bCompanyPerson;
    }

    public void setbCompanyPerson(String bCompanyPerson) {
        this.bCompanyPerson = bCompanyPerson;
    }

    public String getbCompanyContact() {
        return bCompanyContact;
    }

    public void setbCompanyContact(String bCompanyContact) {
        this.bCompanyContact = bCompanyContact;
    }

    public String getbCompanyMedicinal() {
        return bCompanyMedicinal;
    }

    public void setbCompanyMedicinal(String bCompanyMedicinal) {
        this.bCompanyMedicinal = bCompanyMedicinal;
    }

    public String getbCompanyRemarks() {
        return bCompanyRemarks;
    }

    public void setbCompanyRemarks(String bCompanyRemarks) {
        this.bCompanyRemarks = bCompanyRemarks;
    }

    public String getbProvince() {
        return bProvince;
    }

    public void setbProvince(String bProvince) {
        this.bProvince = bProvince;
    }

    public String getbCity() {
        return bCity;
    }

    public void setbCity(String bCity) {
        this.bCity = bCity;
    }

    public String getbRegion() {
        return bRegion;
    }

    public void setbRegion(String bRegion) {
        this.bRegion = bRegion;
    }

    public String getMedicinalNames() {
        return medicinalNames;
    }

    public void setMedicinalNames(String medicinalNames) {
        this.medicinalNames = medicinalNames;
    }

    public String getbWaterEnvironment() {
        return bWaterEnvironment;
    }

    public void setbWaterEnvironment(String bWaterEnvironment) {
        this.bWaterEnvironment = bWaterEnvironment;
    }

    public String getbSoilEnvironment() {
        return bSoilEnvironment;
    }

    public void setbSoilEnvironment(String bSoilEnvironment) {
        this.bSoilEnvironment = bSoilEnvironment;
    }

    public String getbAirEnvironment() {
        return bAirEnvironment;
    }

    public void setbAirEnvironment(String bAirEnvironment) {
        this.bAirEnvironment = bAirEnvironment;
    }

    public String getbTotalityAppraise() {
        return bTotalityAppraise;
    }

    public void setbTotalityAppraise(String bTotalityAppraise) {
        this.bTotalityAppraise = bTotalityAppraise;
    }

    public String getbEnvironmentDataImgPath() {
        return bEnvironmentDataImgPath;
    }

    public void setbEnvironmentDataImgPath(String bEnvironmentDataImgPath) {
        this.bEnvironmentDataImgPath = bEnvironmentDataImgPath;
    }

    public String getbEnvironmentDataImgPathOut() {
        return bEnvironmentDataImgPathOut;
    }

    public void setbEnvironmentDataImgPathOut(String bEnvironmentDataImgPathOut) {
        this.bEnvironmentDataImgPathOut = bEnvironmentDataImgPathOut;
    }

    public Date geteTime() {
        return eTime;
    }

    public void seteTime(Date eTime) {
        this.eTime = eTime;
    }

    public Date getbCreateTime() {
        return bCreateTime;
    }

    public void setbCreateTime(Date bCreateTime) {
        this.bCreateTime = bCreateTime;
    }
}
